Total Complexity | 59 |
Dependencies | 6 |
Dependents | 0 |
Total lines | 578 |
Lines of code | 447 |
Logical lines of code | 160 |
Comment lines | 32 |
Methods | 14 |
Properties | 2 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
create_cdek_delivery_order() | 29 | 144 | ||
validate_delivery_method() | 41 | 11 | 55 | |
enqueue_scripts_checkout() | 36 | 1 | 88 | |
checkout_fields() | 41 | 2 | 68 | |
sendCdek() | 56 | 3 | 18 | |
payment_complete_handler() | 56 | 3 | 17 | |
enqueue_scripts_hook_handler() | 73 | 2 | 6 | |
clear_session() | 64 | 2 | 10 | |
__construct() | 61 | 1 | 12 | |
get_plugin_fields() | 65 | 1 | 11 | |
get_total_handler() | 82 | 1 | 3 | |
save_cdek_delivery_order() | 66 | 1 | 8 | |
remove_cart_item() | 82 | 1 | 3 | |
update_cart_action_cart_updated() | 77 | 1 | 4 |